package com.dk.base.core.dbbase;


import com.dk.common.dbaccess.entity.AbstractAuditable;
import lombok.Getter;
import lombok.Setter;
import jakarta.persistence.*;

@Setter
@Getter
@Entity
@Table(name = "demo_rel")
public class DemoRelPO extends AbstractAuditable {


    private String type;

    @Column(name = "dataset_id")
    private Long datasetId;


    @OneToOne(targetEntity = DemoPO.class)
    @JoinColumn(name = "demo_id")
    private DemoPO demo;
}
